package com.wxpt.service.impl;

import com.wxpt.dao.UserMapper;
import com.wxpt.entity.User;
import com.wxpt.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/5/31.
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User selectByPrimaryKey(Long id) {
        return userMapper.selectByPrimaryKey((long) 1);
    }
}
